class CreateServices < ActiveRecord::Migration
  def self.up
    create_table :services do |t|
      t.text :name
      t.string :abbreviation
      t.text :info

      t.timestamps
    end

    add_index(:services, :name, :unique => true)
  end

  def self.down
    remove_index(:services, :column => :name)
    drop_table :services
  end
end
